package cn.xiaopengstack.infrastructure.dao;

import cn.xiaopengstack.infrastructure.dao.po.AiAgentFlowConfig;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author jiangyangang
* @description 针对表【ai_agent_flow_config(智能体-客户端关联表)】的数据库操作Mapper
* @createDate 2025-08-29 15:15:19
* @Entity cn.xiaopengstack.infrastructure.dao.po.AiAgentFlowConfig
*/
public interface AiAgentFlowConfigMapper {

    int deleteByPrimaryKey(Long id);

    int insert(AiAgentFlowConfig record);

    int insertSelective(AiAgentFlowConfig record);

    AiAgentFlowConfig selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(AiAgentFlowConfig record);

    int updateByPrimaryKey(AiAgentFlowConfig record);

    /**
     * 查询agent配置
     * @param aiAgentId
     * @return
     */
    List<AiAgentFlowConfig> queryByAgentId(@Param("aiAgentId") String aiAgentId);
}
